// --------------------------员工管理架构模块
import Layout from "@/layout";

export default {
  path: "/employees",
  component: Layout,
  children: [
    {
      path: "",
      name: "employees",
      component: () => import("@/views/employees"),
      meta: { title: "员工管理", icon: "people" },
    },
    {
      path: "detail/:id", // 动态路由参数
      component: () => import("@/views/employees/detail"),
      hidden: true,
      meta: {
        title: "员工详情",
      },
    },
  ],
};
